const path = require('path')

function my_baseName(url) {
    return path.basename(url)
}

function my_join(...paths) {
    return path.join(...paths)
}

function my_extname(url) {
    return path.extname(url);
}

function my_resolve(...paths) {
    return path.resolve(...paths)
}

module.exports = {
    my_baseName,
    my_join,
    "ext": my_extname,
    my_resolve
}